package com.study.model.pojo.FDpojo;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;
import java.util.Date;


/**
 * The persistent class for the sales_receipts database table.
 * 
 */
@Entity
@Table(name="sales_receipts")
@NamedQuery(name="SalesReceipt.findAll", query="SELECT s FROM SalesReceipt s")
public class SalesReceipt implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	private int id;

	@Column(name="advances_id")
	private int advancesId;

	private BigDecimal arrearages;

	private BigDecimal collection;

	@Temporal(TemporalType.TIMESTAMP)
	private Date date;

	@Column(name="need_pay")
	private double needPay;

	private BigDecimal received;

	private String remarks;

	private int status;

	private int type;

	private String verifier;

	public SalesReceipt() {
	}

	public int getId() {
		return this.id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getAdvancesId() {
		return this.advancesId;
	}

	public void setAdvancesId(int advancesId) {
		this.advancesId = advancesId;
	}

	public BigDecimal getArrearages() {
		return this.arrearages;
	}

	public void setArrearages(BigDecimal arrearages) {
		this.arrearages = arrearages;
	}

	public BigDecimal getCollection() {
		return this.collection;
	}

	public void setCollection(BigDecimal collection) {
		this.collection = collection;
	}

	public Date getDate() {
		return this.date;
	}

	public void setDate(Date date) {
		this.date = date;
	}

	public double getNeedPay() {
		return this.needPay;
	}

	public void setNeedPay(double needPay) {
		this.needPay = needPay;
	}

	public BigDecimal getReceived() {
		return this.received;
	}

	public void setReceived(BigDecimal received) {
		this.received = received;
	}

	public String getRemarks() {
		return this.remarks;
	}

	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}

	public int getStatus() {
		return this.status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public int getType() {
		return this.type;
	}

	public void setType(int type) {
		this.type = type;
	}

	public String getVerifier() {
		return this.verifier;
	}

	public void setVerifier(String verifier) {
		this.verifier = verifier;
	}

}